const { user } = require('../controllers');
const { scmUser } = require('../schema/index');
const prefix = '/user'

const routes = [
  // 获取用户信息
  {
    method: 'get',
    path: `${prefix}/getUserInfo`,
    valid: scmUser.userInfo,
    controller: user.userInfo
  }
];

module.exports = routes;
